export default {
  'submit': 'Submiting',
  'saving': 'Saving',
  'loading': 'Loading',
  'adding': 'Saving',
  'add_success': 'Saving successfully !',
  'add_fail': 'Save failed !',
  'save_success': 'Save successfully !',
  'save_fail': 'Save failed !',
  'deleting': 'Deleting',
  'delete_success': 'Delete successfully',
  'delete_fail': 'Delete failed !',
  'refreshing': 'Refreshing',
  'refresh_success': 'Refresh successfully',
  'refresh_fail': 'Refresh failed !',
  'enabled.0': 'Disable ',
  'enabled.1': 'Enable ',
  'success': 'Successfully',
  'failed': 'Failed',
  'disconnecting': 'Disconnecting',
  'disconnect_success': 'Disconnect successfully ！',
  'disconnect_fail': 'Disconnect failed !',
  'publishing': 'Publishing',
  'publish_success': 'Publish successfully !',
  'publish_fail': 'Publish failed !',
  'offlining': 'Offlining',
  'offline_success': 'Offline successfully !',
  'offline_fail': 'Offline failed !',
  'rollbacking': 'Rollbacking',
  'rollback_success': 'Rollback successfully !',
  'rollback_fail': 'Rollback failed !',

  'resetpassword.title': 'Reset Password',
  'resetpassword.oldpassword': 'Old password',
  'resetpassword.newpassword': 'New password',
  'resetpassword.newpassword_ag': 'Repeat new password',
  'resetpassword.update_success': 'Reset password successfully !',
  'resetpassword.update_fail': 'Reset password failed .',

  'pages.layouts.userLayout.title':
    'AgileConfig - a light configuration server',
  'pages.login.accountLogin.tab': 'Account Login',
  'pages.login.accountLogin.errorMessage': 'Incorrect username/password（admin/ant.design)',
  'pages.login.username.placeholder': 'Username',
  'pages.login.username.required': 'Please input your username!',
  'pages.login.password.placeholder': 'Password',
  'pages.login.password.required': 'Please input your password!',
  'pages.login.phoneLogin.tab': 'Phone Login',
  'pages.login.phoneLogin.errorMessage': 'Verification Code Error',
  'pages.login.phoneNumber.placeholder': 'Phone Number',
  'pages.login.phoneNumber.required': 'Please input your phone number!',
  'pages.login.phoneNumber.invalid': 'Phone number is invalid!',
  'pages.login.captcha.placeholder': 'Verification Code',
  'pages.login.captcha.required': 'Please input verification code!',
  'pages.login.phoneLogin.getVerificationCode': 'Get Code',
  'pages.getCaptchaSecondText': 'sec(s)',
  'pages.login.rememberMe': 'Remember me',
  'pages.login.forgotPassword': 'Forgot Password ?',
  'pages.login.submit': 'Login',
  'pages.login.loginWith': 'Login with :',
  'pages.login.registerAccount': 'Register Account',
  'pages.login.loginfail': 'UserName or Password incorrect ! 😢😢😢 ',
  'pages.login.loginsuccess': '🎉 🎉 🎉  Login successful ! ',
  'pages.welcome.advancedComponent': 'Advanced Component',
  'pages.welcome.link': 'Welcome',
  'pages.welcome.advancedLayout': 'Advanced Layout',
  'pages.welcome.alertMessage': 'Faster and stronger heavy-duty components have been released.',
  'pages.admin.subPage.title': 'This page can only be viewed by Admin',
  'pages.admin.subPage.alertMessage':
    'Umi ui is now released, welcome to use npm run ui to start the experience.',

  'pages.initpassword.tab':"Initialize administrator's password",
  'pages.initpassword.ag_password.placeholder' : 'Password again',
  'pages.initpassword.submit': 'Submit',
  'pages.initpassword.init_tip': "Please initialize the administrator's password before login .",
  'pages.initpassword.init_success': "Initialize successful , please login use password now .",

  'pages.home.summary.node': 'Node',
  'pages.home.summary.app': 'App',
  'pages.home.summary.config': 'Configuration',
  'pages.home.summary.client': 'Client',
  'pages.home.summary.service': 'Service',

  'pages.node.action.add': 'Add',
  'pages.node.action.delete': 'Delete',
  'pages.node.action.refresh': 'Refresh all clients',

  'pages.node.table.cols.address': 'Address',
  'pages.node.table.cols.remark': 'Remark',
  'pages.node.table.cols.lastEcho': 'LastEcho',
  'pages.node.table.cols.status.1': 'Online',
  'pages.node.table.cols.status.0': 'Offline',
  'pages.node.table.cols.status': 'Status',

  'pages.node.table.cols.action': 'Action',

  'pages.node.from.tips': "Input node's IP and port , example http://192.168.0.120:5000",
  'pages.node.action.delete.tips': 'Delete the node will not shutdown the server , it just out control the admin console .',
  'pages.node.delete_msg': 'Are you sure to delete the node ',

  'pages.app.table.cols.appname': 'Name',
  'pages.app.table.cols.appid': 'AppID',
  'pages.app.table.cols.secret': 'Secret',
  'pages.app.table.cols.create_time': 'CreateTime',
  'pages.app.table.cols.update_time': 'EditTime',
  'pages.app.table.cols.public': 'Public',
  'pages.app.table.cols.link': 'Connected',
  'pages.app.table.cols.enabled': 'Enabled',
  'pages.app.table.cols.action': 'Action',
  'pages.app.table.cols.action.configs': 'Configurations',
  'pages.app.table.cols.action.edit': 'Edit',
  'pages.app.table.cols.action.delete': 'Delete',
  'pages.app.table.cols.action.add': 'Create',

  'pages.app.form.title.add': 'Create',
  'pages.app.form.title.edit': 'Edit',
  'pages.app.form.name': 'Name',
  'pages.app.form.id': 'AppID',
  'pages.app.form.secret': 'Secret',
  'pages.app.form.public': 'Public App',
  'pages.app.form.public.tooltip': 'public application can be connected by other apps .',
  'pages.app.form.connected': 'Connected public Apps',
  'pages.app.form.connected.tooltip': 'the configurations of connected apps can be read by this app .',
  'pages.app.form.enabled': 'Enabled',
  'pages.app.form.group': 'App Group',
  'pages.app.form.group.placeholder': 'The group which the app belongs to',
  'pages.app.form.group.input.placeholder': 'Enter group name',
  'pages.app.form.admin': 'Administrator',
  'pages.app.delete_msg': 'Are you sure to delete the app ',

  'pages.app.table.cols.group': 'App Group',
  'pages.app.table.cols.admin': 'Administrator',
  'pages.app.table.cols.action.auth': 'Authorization',
  'pages.app.table.group_aggregation': 'Group Aggregation',

  'pages.app.auth.title': 'User Authorization',
  'pages.app.auth.bind_users': 'Bind Users',

  'pages.app.inheritanced.true': 'public',
  'pages.app.inheritanced.false': 'private',

  'pages.client.table.cols.id': 'ID',
  'pages.client.table.cols.node': 'Node',
  'pages.client.table.cols.env': 'Environment',
  'pages.client.table.cols.appid': 'AppID',
  'pages.client.table.cols.appname': 'AppName',
  'pages.client.table.cols.name': 'ClientName',
  'pages.client.table.cols.tag': 'Tag',
  'pages.client.table.cols.ip': 'IP',
  'pages.client.table.cols.action': 'Action',
  'pages.client.table.cols.action.refresh': 'Refresh',
  'pages.client.table.cols.action.disconnect': 'Disconnect',
  'pages.client.table.cols.lastRefreshTime': 'LastRefreshTime',
  'pages.client.table.cols.lastRefreshTime.tooltip': 'The last time the client pulled the full configuration from the server',

  'pages.client.header.title': 'Connected Clients',
  'pages.client.disconnect_message': `Are you sure to disconnect the client ?`,

  'pages.logs.table.appname': `AppName`,
  'pages.logs.table.type': 'Role',
  'pages.logs.table.type.0': 'Normal',
  'pages.logs.table.type.1': 'Warn',
  'pages.logs.table.time': `LogTime`,
  'pages.logs.table.content': `Content`,

  'pages.configs.breadcrumbName': 'Configurations',
  'pages.configs.table.cols.g': 'Group',
  'pages.configs.table.cols.k': 'Key',
  'pages.configs.table.cols.v': 'Value',
  'pages.configs.table.cols.desc': 'Description',
  'pages.configs.table.cols.create_time': 'CreateTime',
  'pages.configs.table.cols.status': 'Status',
  'pages.configs.table.cols.status.0': 'WaitPublish',
  'pages.configs.table.cols.status.1': 'Online',
  'pages.configs.table.cols.action': 'Action',
  'pages.configs.table.cols.action.add': 'Add',
  'pages.configs.table.cols.action.importfromjosnfile': 'Import',
  'pages.configs.table.cols.action.pop.importfromjosnfile': 'Import JSON File',
  'pages.configs.table.cols.action.exportJson': 'Export',
  'pages.configs.table.cols.action.edit': 'Edit',
  'pages.configs.table.cols.action.delete': 'Delete',
  'pages.configs.table.cols.action.publish': 'Publish All',
  'pages.configs.table.cols.action.offline': 'Offline',
  'pages.configs.table.cols.action.history': 'History',
  'pages.configs.table.cols.action.edit_json': 'Edit JSON',
  'pages.configs.table.cols.action.edit_text': 'Edit TEXT',
  'pages.configs.table.cols.action.cancel_edit': 'Cancel Edit',

  'pages.configs.from.title.add': 'Create',
  'pages.configs.from.title.edit': 'Edit',
  'pages.configs.from.add.app': 'App',
  'pages.configs.from.importjson.selectfile': 'Select file',

  'pages.configs.table.cols.v.tip':'too long text will use ellipsis instead .',

  'pages.configs.edit_status': 'Edit Status',

  'pages.configs.publishing': 'Publishing',
  'pages.configs.publish_success': 'Publish Success!',
  'pages.configs.publish_fail': 'Publish Failed!',
  'pages.configs.exporting': 'Exporting',
  'pages.configs.export_fail': 'Export Failed!',

  'pages.configs.publish_log_placeholder': 'Please enter publish log',
  'pages.configs.publish_selected': 'Publish Selected',
  'pages.configs.publish_all': 'Publish All',
  'pages.configs.env_sync': 'Environment Sync',
  'pages.configs.more': 'More',
  'pages.configs.upload_failed': 'upload failed.',
  'pages.configs.json_editor_title': 'Edit by JSON View',
  'pages.configs.save': 'Save',
  'pages.configs.json_invalid': 'Invalid JSON format',
  'pages.configs.patch_mode': 'Patch Mode Update',
  'pages.configs.patch_mode_tooltip': 'Patch mode, only add or modify configurations, existing configurations not included above will not be deleted',
  'pages.configs.cancel': 'Cancel',
  'pages.configs.close': 'Close',
  'pages.configs.no_data': 'No Data',
  'pages.configs.confirm_rollback_to': 'Are you sure to rollback to',
  'pages.configs.confirm_rollback_suffix': ' version?',
  'pages.configs.sync_env_title': 'Environment Sync',
  'pages.configs.select_at_least_one_env': 'Please select at least one environment',
  'pages.configs.syncing': 'Syncing',
  'pages.configs.sync_success': 'Sync Success!',
  'pages.home.add_now': 'Add Now',
  'pages.configs.rollback_warning': 'Note: This operation will clear all current pending configuration items',
  'pages.configs.sync_failed': 'Sync failed',
  'pages.configs.sync_from_to': 'Sync configurations from current {env} environment to:',
  'pages.configs.version.status.add': 'Add',
  'pages.configs.version.status.edit': 'Edit',
  'pages.configs.version.status.delete': 'Delete',
  'pages.configs.version.status.committed': 'Committed',
  'pages.configs.version.editStatus': 'Change',
  'pages.configs.version.rolling_back': 'Rolling Back',
  'pages.configs.version.rollback_success': 'Rollback Success',
  'pages.configs.version.rollback_fail': 'Rollback Failed',
  'pages.configs.confirm_publish_current': 'Are you sure to publish current',
  'pages.configs.confirm_publish_wait_items': 'wait publish config items?',
  'pages.configs.confirm_cancel_edit': 'Are you sure to cancel edit config',
  'pages.configs.confirm_cancel_edit_suffix': '?',
  'pages.configs.confirm_cancel_selected_edit': 'Are you sure to cancel edit status of selected config items?',
  'pages.configs.confirm_delete_selected': 'Are you sure to delete selected config items?',

  'pages.config.history.title': 'History',
  'pages.config.history.rollback': 'Rollback',
  'pages.config.history.current': 'Current',

  'pages.config.confirm_rollback':'Are you sure to rollback to hisory version ',
  'pages.config.confirm_delete':'Are you sure to delete config ',
  'pages.config.confirm_publish':'Are you sure to publish config ',
  'pages.config.confirm_offline':'Are you sure to offline config ',

  'pages.config.confirm_publish_some':'Are you sure to publish selected config items ?',
  'pages.config.confirm_offline_some':'Are you sure to offline selected config items ?',

  'pages.config.waitpublish_at_least_one':'please select one wait publish config item at least .',
  'pages.config.online_at_least_one':'please select one online config item at least .',

  // User Management
  'pages.user.table.cols.username': 'Username',
  'pages.user.table.cols.team': 'Team',
  'pages.user.table.cols.userrole': 'Role',
  'pages.user.table.cols.status': 'Status',
  'pages.user.table.cols.action': 'Action',
  'pages.user.table.cols.action.edit': 'Edit',
  'pages.user.table.cols.action.reset': 'Reset Password',
  'pages.user.table.cols.action.delete': 'Delete',
  'pages.user.table.cols.action.add': 'Add User',
  'pages.user.form.title.add': 'Add User',
  'pages.user.form.title.edit': 'Edit User',
  'pages.user.form.username': 'Username',
  'pages.user.form.password': 'Password',
  'pages.user.form.team': 'Team',
  'pages.user.form.userrole': 'Role',
  'pages.user.form.status': 'Status',
  'pages.user.status.normal': 'Normal',
  'pages.user.status.deleted': 'Deleted',
  'pages.user.confirm_reset': 'Are you sure to reset user',
  'pages.user.confirm_delete': 'Are you sure to delete user',
  'pages.user.reset_password_default': "'s password to default password【123456】?",
  'pages.role.table.cols.name': 'Name',
  'pages.role.table.cols.description': 'Description',
  'pages.role.table.cols.system': 'System Role',
  'pages.role.system.yes': 'Yes',
  'pages.role.system.no': 'No',
  'pages.role.table.cols.functions': 'Permissions',
  'pages.role.table.cols.action': 'Action',
  'pages.role.table.cols.action.add': 'Add Role',
  'pages.role.table.cols.action.edit': 'Edit',
  'pages.role.table.cols.action.delete': 'Delete',
  'pages.role.form.title.add': 'Add Role',
  'pages.role.form.title.edit': 'Edit Role',
  'pages.role.form.name': 'Name',
  'pages.role.form.description': 'Description',
  'pages.role.form.functions': 'Permissions',
  'pages.role.confirm_delete': 'Are you sure you want to delete this role?',
  'pages.role.delete_success': 'Role deleted successfully',
  'pages.role.delete_fail': 'Failed to delete role',
  'pages.role.save_success': 'Role saved successfully',
  'pages.role.save_fail': 'Failed to save role',
  'pages.role.load_failed': 'Failed to load roles',
  'pages.role.permissions.load_failed': 'Failed to load permissions',
  'pages.role.permissions.all': 'All',
  'pages.role.permissionGroup.APP': 'App',
  'pages.role.permissionGroup.CONFIG': 'Config',
  'pages.role.permissionGroup.NODE': 'Node',
  'pages.role.permissionGroup.CLIENT': 'Client',
  'pages.role.permissionGroup.USER': 'User',
  'pages.role.permissionGroup.ROLE': 'Role',
  'pages.role.permissionGroup.SERVICE': 'Service',
  'pages.role.permissionGroup.LOG': 'Log',
  'pages.role.permissionGroup.OTHER': 'Other',
  'pages.role.permissions.APP_ADD': 'Add App',
  'pages.role.permissions.APP_EDIT': 'Edit App',
  'pages.role.permissions.APP_DELETE': 'Delete App',
  'pages.role.permissions.APP_AUTH': 'Authorize App',
  'pages.role.permissions.CONFIG_ADD': 'Config Add',
  'pages.role.permissions.CONFIG_EDIT': 'Config Edit',
  'pages.role.permissions.CONFIG_DELETE': 'Config Delete',
  'pages.role.permissions.CONFIG_PUBLISH': 'Config Publish',
  'pages.role.permissions.CONFIG_OFFLINE': 'Config Offline',
  'pages.role.permissions.NODE_ADD': 'Node Add',
  'pages.role.permissions.NODE_DELETE': 'Node Delete',
  'pages.role.permissions.CLIENT_READ': 'Client View',
  'pages.role.permissions.CLIENT_DISCONNECT': 'Disconnect Client',
  'pages.role.permissions.USER_ADD': 'User Add',
  'pages.role.permissions.USER_EDIT': 'User Edit',
  'pages.role.permissions.USER_DELETE': 'User Delete',
  'pages.role.permissions.ROLE_ADD': 'Role Add',
  'pages.role.permissions.ROLE_EDIT': 'Role Edit',
  'pages.role.permissions.ROLE_DELETE': 'Role Delete',
  'pages.role.permissions.APP_READ': 'App View',
  'pages.role.permissions.CONFIG_READ': 'Config View',
  'pages.role.permissions.NODE_READ': 'Node View',
  'pages.role.permissions.CLIENT_REFRESH': 'Refresh Client',
  'pages.role.permissions.USER_READ': 'User View',
  'pages.role.permissions.ROLE_READ': 'Role View',
  'pages.role.permissions.SERVICE_READ': 'Service View',
  'pages.role.permissions.SERVICE_ADD': 'Service Add',
  'pages.role.permissions.SERVICE_DELETE': 'Service Delete',
  'pages.role.permissions.LOG_READ': 'Log View',

  // Service Management
  'pages.service.table.cols.servicename': 'Service Name',
  'pages.service.table.cols.serviceid': 'Service ID',
  'pages.service.table.cols.registertime': 'Register Time',
  'pages.service.table.cols.action': 'Action',
  'pages.service.table.cols.action.delete': 'Delete',
  'pages.service.confirm_delete_selected': 'Are you sure to delete selected services?',

  // Node Management - only add missing keys
  'pages.node.table.cols.action.add': 'Add Node',
  'pages.node.table.cols.action.edit': 'Edit',
  'pages.node.table.cols.action.delete': 'Delete',
  'pages.node.form.title.add': 'Add Node',
  'pages.node.form.title.edit': 'Edit Node',
  'pages.node.form.address': 'Address',
  'pages.node.form.remark': 'Remark',
  'pages.node.status.healthy': 'Healthy',
  'pages.node.status.unhealthy': 'Unhealthy',
  'pages.node.confirm_delete': 'Are you sure to delete node',

  // Home Page
  'pages.home.empty_node_confirm': 'Node list is empty, add current node',
  'pages.home.to_node_list': 'to node list?',
  'pages.home.summary.apps': 'Apps',
  'pages.home.summary.configs': 'Configs',
  'pages.home.summary.nodes': 'Nodes',
  'pages.home.summary.clients': 'Online Clients',
  'pages.home.latest_visit_apps': 'Latest Visit Apps',
  'pages.home.node_client_chart': 'Node Client Statistics',

  // Services management
  'pages.services.serviceId': 'Service ID',
  'pages.services.serviceName': 'Service Name',
  'pages.services.ip': 'IP',
  'pages.services.port': 'Port',
  'pages.services.metaData': 'Metadata',
  'pages.services.heartBeatMode': 'Heartbeat Mode',
  'pages.services.checkUrl': 'Check URL',
  'pages.services.alarmUrl': 'Alarm URL',
  'pages.services.registerTime': 'Register Time',
  'pages.services.lastHeartBeat': 'Last Response Time',
  'pages.services.status': 'Status',
  'pages.services.statusAbnormal': 'Abnormal',
  'pages.services.statusHealthy': 'Healthy',
  'pages.services.operation': 'Actions',
  'pages.services.delete': 'Delete',
  'pages.services.confirmDelete': 'Are you sure to delete the selected service?',
  'pages.services.newService': 'New Service',
  'pages.services.serviceNameRequired': 'Service name is required',
  'pages.services.ipRequired': 'IP is required',
  'pages.services.portRequired': 'Port is required',
  'pages.services.serviceName.placeholder': 'Please enter service name',
  'pages.services.ip.placeholder': 'Please enter IP address',
  'pages.services.port.placeholder': 'Please enter port',
  'pages.services.metaData.placeholder': 'Please enter metadata',
  'pages.services.checkUrl.placeholder': 'Please enter check URL',
  'pages.services.alarmUrl.placeholder': 'Please enter alarm URL',

  // Nodes management
  'pages.nodes.title': 'Node Management',
  'pages.nodes.address': 'Address',
  'pages.nodes.remark': 'Remark',
  'pages.nodes.status': 'Status',
  'pages.nodes.statusOffline': 'Offline',
  'pages.nodes.statusOnline': 'Online',
  'pages.nodes.lastEchoTime': 'Last Response Time',
  'pages.nodes.createTime': 'Create Time',
  'pages.nodes.operation': 'Actions',
  'pages.nodes.delete': 'Delete',
  'pages.nodes.new': 'New Node',
  'pages.nodes.confirmDelete': 'Delete Node',
  'pages.nodes.confirmDeleteContent': 'Are you sure to delete this node?',
  'pages.nodes.reloadAll': 'Reload All',
  'pages.nodes.reloadAllContent': 'Notify all clients to reload configuration?',
  'pages.nodes.addressRequired': 'Address is required',
  'pages.nodes.addressPlaceholder': 'Please enter node address',
  'pages.nodes.remarkPlaceholder': 'Please enter remark',

  // Text Editor
  'pages.configs.textEditor.title': 'Edit by TEXT View',
  'pages.configs.textEditor.format': 'Strictly follow KEY=VALUE format, one configuration per line',
  'pages.configs.textEditor.patchMode': 'Patch Mode Update',
  'pages.configs.textEditor.patchModeTooltip': 'In patch mode, only new or modified configurations will be updated, existing configuration items not included above will not be deleted',
  'pages.configs.canceling': 'Canceling',
  'pages.configs.cancel_success': 'Cancel successful',
  'pages.configs.cancel_fail': 'Cancel failed',
  'pages.configs.publish_status': 'Publish Status',
  'pages.configs.import.noItems': 'No configuration items to import!',
  'pages.configs.importing': 'Importing',
  'pages.configs.import_success': 'Import successful',
  'pages.configs.import_fail': 'Import failed, please try again!',

  // Home page
  'pages.home.consoleNode': 'Console Node',
  'pages.home.recentVisit': 'Recent Visits',

};
